
export type TextureFormat = GPUTextureFormat

export class Texture2DAsset {
    private _bitmap: ImageBitmap
    private _format: TextureFormat

    constructor(bitmap: ImageBitmap, format: TextureFormat) {
        this._format = format
        this._bitmap = bitmap
    }

    get format() {
        return this._format
    }

    get bitmap() {
        return this._bitmap
    }
}
